package org.southyin.dao;

import org.southyin.model.CmsCustomer;

public interface CmsCustomerDao {
    // 根据邮箱查询用户
    int findCustomerByEmail(String email);

    // 新增用户
    int saveCustomer(CmsCustomer cmsCustomer);

    // 根据邮箱和密码查询用户
    CmsCustomer findCustomerByEmailAndPass(CmsCustomer cmsCustomer);

    // 查询用户信息
    CmsCustomer getPersonInfos(Long id);
}
